export default {
  namespaced: true,
  state() {
    return {
      age: 16
    }
  },
  getters: {
    dbAge(state) {
      return state.age * 2
    }
  },
  mutations: {
    changeAge(state,age) {
      state.age = age
    }
  }
}